package com.javatip.project.detection.detectionDataset.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.javatip.framework.web.domain.BaseEntity;

import java.util.Date;

/**
 * 目标检测数据集表 detection_dataset
 *
 * @author 袁伟
 * @date 2024-09-22
 */
public class DetectionDataset extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 目标检测数据集
     */
    private Integer id;
    /**
     *
     */
    private String name;
    /**
     *
     */
    private Integer numTrain;
    /**
     *
     */
    private Integer numVal;
    /**
     *
     */
    private Integer height;
    /**
     *
     */
    private Integer width;
    /**
     *
     */
    private Date uploadTime;
    /**
     *
     */
    private Integer userId;
    /**
     *
     */
    private String location;
    /**
     *
     */
    private Integer isPublic;

    private String userName;

    public Integer getWidth() {
        return width;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userNames) {
        this.userName = userNames;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getId() {
        return id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setNumTrain(Integer numTrain) {
        this.numTrain = numTrain;
    }

    public Integer getNumTrain() {
        return numTrain;
    }

    public void setNumVal(Integer numVal) {
        this.numVal = numVal;
    }

    public Integer getNumVal() {
        return numVal;
    }

    public void setHeight(Integer height) {
        this.height = height;
    }

    public Integer getHeight() {
        return height;
    }

    public void setWidth(Integer width) {
        this.width = width;
    }


    public void setUploadTime(Date uploadTime) {
        this.uploadTime = uploadTime;
    }

    public Date getUploadTime() {
        return uploadTime;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getLocation() {
        return location;
    }

    public void setIsPublic(Integer isPublic) {
        this.isPublic = isPublic;
    }

    public Integer getIsPublic() {
        return isPublic;
    }

    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("name", getName())
                .append("numTrain", getNumTrain())
                .append("numVal", getNumVal())
                .append("height", getHeight())
                .append("width", getWidth())
                .append("uploadTime", getUploadTime())
                .append("userId", getUserId())
                .append("location", getLocation())
                .append("isPublic", getIsPublic())
                .append("userName", getUserName())
                .toString();
    }
}
